/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const operatorRouter = {
  path: '/order',
  component: Layout,
  redirect: '/order/server-order',
  name: 'Order',
  meta: {
    title: '订单管理',
    icon: 'order'
  },
  children: [
    {
      path: '/server-order',
      name: 'ServerOrder',
      component: () => import('@/views/order/server-order'),
      meta: { title: '服务单管理' }
    },
    {
      path: '/pay-order',
      name: 'PayOrder',
      component: () => import('@/views/order/pay-order'),
      meta: { title: '支付单管理' }
    }
  ]
}

export default operatorRouter
